package com.education.dao;

import com.education.pojo.HistoryScore;

import java.util.List;

public interface HistoryScoreMapper {
    int deleteByPrimaryKey(Integer hsId);

    int insert(HistoryScore record);

    int insertSelective(HistoryScore record);

    HistoryScore selectByPrimaryKey(Integer hsId);

    int updateByPrimaryKeySelective(HistoryScore record);

    int updateByPrimaryKey(HistoryScore record);

//通过前台提交答案后，根据用户id 试卷id 统计的成绩 插入时间  插入到历史表中的方法
    int insertHistoryScoreMessage(HistoryScore record);
//用户获取历史成绩
    List<HistoryScore> selectUserHistoryScore (Integer uId);
}